package com.wang.mapper;

import com.aaa.entity.OStock;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Entity com.wang..OStock
 */
public interface OStockMapper extends BaseMapper<OStock> {
    //用户购买之后减库存
    int updateNum(Integer num,Integer id);
    //订单失效或用户取消订单加会库存
    int updateSumNum(String residue,Integer id);


}




